]> dgit.raspbian.org Git - gnome-shell.git/commit
grabHelper: Throw an error if the owner is not an actor
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 29 May 2019 19:43:27 +0000 (14:43 -0500)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 29 May 2019 20:13:00 +0000 (15:13 -0500)
commit238b87d3864dacf73ffb888aaf9fddc9bcb02c98
tree31e5230ca170aa555f857ada12c90b2bca568843
parent8c01d341c784516249edef0138c51e99bd9fb3c1
grabHelper: Throw an error if the owner is not an actor

Starting from commit 7bb84dae, GrabHelper requires the owner to be an Actor as
we pass this to pushModal that assumes it to be as well.

So check that GrabHelper owner is an actor and throws an error if it is not the
case. This helps in tracking down issues such as gnome-shell-extensions!68

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/565
js/ui/grabHelper.js